Application.ExecuteCommand("Filter")
SelectionFilterDlg.Nothing.Click()
SelectionFilterDlg.SelectionObjectsDlg.Labels = true
SelectionFilterDlg.Ok.Click()
Application.StatusBarText = "Select Labels"
'ApplicationMode=2 ' draw
dim ws : set ws = CreateObject("WScript.Shell")
dim varName : varName = "ApplicationMode"
dim varValue : varValue = 0
ws.RegWrite "HKEY_CURRENT_USER\Software\MyApp\PADS\" & varName, varValue, "REG_EXPAND_SZ"
ws.RegWrite "HKEY_CURRENT_USER\Software\MyApp\PADS\Strentch", 0, "REG_EXPAND_SZ"
set ws = nothing